package cn.edu.paisi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author en.edu.paisi
 * @since 2021-03-09
 */
public class Test extends Model<Test> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "con_id", type = IdType.AUTO)
    private Integer conId;

    private Integer testId;

    private String testName;

    private String testContent;

    private String testAnswer;

    private String stuAnswer;

    private Integer conScore;

    private Integer testTime;


   
    public Integer getTestId() {
		return testId;
	}

	public void setTestId(Integer testId) {
		this.testId = testId;
	}

	public String getTestName() {
		return testName;
	}

	public void setTestName(String testName) {
		this.testName = testName;
	}

	public String getTestContent() {
		return testContent;
	}

	public void setTestContent(String testContent) {
		this.testContent = testContent;
	}

	public String getTestAnswer() {
		return testAnswer;
	}

	public void setTestAnswer(String testAnswer) {
		this.testAnswer = testAnswer;
	}

	public String getStuAnswer() {
		return stuAnswer;
	}

	public void setStuAnswer(String stuAnswer) {
		this.stuAnswer = stuAnswer;
	}

	public Integer getConScore() {
		return conScore;
	}

	public void setConScore(Integer conScore) {
		this.conScore = conScore;
	}

	public Integer getTestTime() {
		return testTime;
	}

	public void setTestTime(Integer testTime) {
		this.testTime = testTime;
	}

	@Override
    protected Serializable pkVal() {
        return this.conId;
    }

	@Override
	public String toString() {
		return "Test [conId=" + conId + ", testId=" + testId + ", testName=" + testName + ", testContent=" + testContent
				+ ", testAnswer=" + testAnswer + ", stuAnswer=" + stuAnswer + ", conScore=" + conScore + ", testTime="
				+ testTime + "]";
	}

   
}
